﻿#ifndef QFACEOBJECT_H
#define QFACEOBJECT_H

#include <QObject>
#include <opencv.hpp>
#include <FaceEngine.h>

//人脸数据存储,人脸检测,人脸识别
class QFaceObject : public QObject
{
    Q_OBJECT
public:
    explicit QFaceObject(QObject *parent = nullptr);
    ~QFaceObject();
public slots:
    int64_t face_register(cv::Mat &faceImage);
    int face_qurrey(cv::Mat &faceImage);
signals:
    void sendFaceid(int faceid,float similarity);
private:
    seeta::FaceEngine* fengineptr;
};

#endif // QFACEOBJECT_H
